﻿using System;
using System.Collections.Generic;
using NCMIS.ObjectModel;
using NCMIS.Provider;

namespace NCMIS.Provider.SampleProvider
{
    public class SamplePolicyProvider : PolicyProviderBase
    {
        public override void ApplyPolicy(string repositoryId, string policyId, string objectId)
        {
            return;
        }

        public override void RemovePolicy(string repositoryId, string policyId, string objectId)
        {
            return;
        }

        public override CmisObjects GetAppliedPolicies(string repositoryId, string objectId, string filter)
        {
             CmisObject cmisObject = SampleFactory.CreateCmisObject();
            return new CmisObjects(new List<CmisObject>(new CmisObject[] { cmisObject }));
        }
    }
}